{template "topic_header"}

<style type="text/css">
#mainWrapper{ width:960px; margin:0 auto; overflow:hidden;}
.mWmain{ float:left;width:620px;min-height:800px;z-index:1;z-index:2\9;overflow-y:visible;background:#fff;border-radius:5px 5px 0 0; _overflow:hidden;}
.mWside{ width:290px;overflow:hidden; padding:0 20px; float:left;}
.mWmain_single{position:relative;width:950px;min-height:800px;z-index:1;z-index:2\9;overflow:hidden;background:#fff;border-radius:5px 5px 0 0;}
.mWmain_t{ background:#F5F5F5; height:28px;border-bottom:1px solid #E4E4E4; padding:8px 17px 0 22px;_overflow:hidden;_width:100%;}
.mWmain_t b{ font-size:14px;}
</style>
<div class="main" id="mainWrapper" style="background-image:none;">

 <div class="mWmain">
  <!--{if $id < 1}-->
  <div class="mWmain_t"><b>网站公告（{$notice_data[count]}）</b></div>
  <div class="coursePlanBox">
	  <!--{loop $notice_data[list] $val}-->
	  <!--{eval $No++}-->
	  <div style="padding:10px;"><a href="index.php?mod=notice&id={$val[id]}">{$No}. {$val[title]}</a></div>
	  <!--{/loop}-->
	  <div style="margin-right:70px;">{$notice_data[page][html]}</div>
  <!--{else}-->	  
      <div class="mWmain_t"><span>{$notice_info[title]}</span></div>
	  <div style="padding:10px 20px;">{$notice_info[content]}</div>
	  <div style="float:right; padding:10px 20px;">发布于：{eval echo my_date_format($notice_info[dateline]);}</div>
  <!--{/if}-->	  
 </div>
 
 <div class="mWside">
	 <!--{if $id > 0}-->
	  <div class="side">
	  <h3>{conf site_name}网站公告 </h3>
	  <ul class="sideul">
		<!--{loop $notice_data[list] $val}-->
		  <li><a title="{$val[title]}" href="index.php?mod=notice&id={$val[id]}">{eval echo(cutstr($val[title], 30));}</a></li>
		<!--{/loop}-->
		</ul>
	  </div>
	 <!--{/if}-->
  </div>
  
</div>
{template "topic_footer"}